package com.yami.shop.bean.app.param;


import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * @author Yami
 */
@Data
@Schema(description= "支付参数")
public class PayParam {

    @NotBlank(message = "订单号不能为空")
    @Schema(description = "订单号", required = true)
    private String orderNumbers;

    @NotNull(message = "支付方式不能为空")
    @Schema(description = "支付方式 (1:微信小程序支付 2:支付宝 3微信扫码支付 4 微信h5支付 5微信公众号支付 6支付宝H5支付 7支付宝APP支付 8微信APP支付 9余额支付 10全球PayPal支付 17新生支付宝H5支付 18新生云闪付H5支付 19新生支付宝公众号支付 20新生微信公众号支付 21新生快捷支付)", required = true)
    private Integer payType;

    @Schema(description = "支付完成回跳地址", required = true)
    private String returnUrl;

    @Schema(description = "银联userId")
    private String uniUserId;

    @Schema(description = "支付宝用户ID")
    private String buyerId;

    @Schema(description = "新生支付业务类型 03：消费（默认）04：担保下单")
    private String businessType;

    @Schema(description = "新生支付 付款方用户ID")
    private String payUserId;

    @Schema(description = " 新生支付 收款方用户ID")
    private String receiveUserId;

    @Schema(description = "新生快捷支付下单参数")
    private XsFastPaymentOneParam xsFastPaymentOneParam;

    @Schema(description = "新生支付分账明细上送新生支付数据")
    private String divideAcctDtlList;

    @Schema(description = "分账组ID")
    private Long receiverGroupId;

}
